package com.huabo.contract.oracle.mapper;

import com.huabo.contract.oracle.entity.TblControlmatrix;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author huabo
 * @since 2022-04-16
 */
public interface TblControlmatrixMapper extends BaseMapper<TblControlmatrix> {

    @Select("select * from TBL_CONTROLMATRIX WHERE CONMATID in (SELECT CONMATID FROM TBL_FLOW_TASK fi where  fi.TASKID= #{taskId})")
    List<TblControlmatrix> findAllByTaskidAll(String taskId);
}
